<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
 批发市场插件菜单
*/
defined('BY_JYA') or exit('error');
$plugins=plugin('jy_weishop')->plugins();
unset($plugins[0]);
$credit_types=credit_types(true);
foreach($plugins as $ki=>&$item){
	$item['child']=$item['list'];
	unset($item['list']);
	foreach($item['child'] as $k=>&$p){
		if(!$p['is_install']){
			unset($item['child'][$k]);
		}else{
			if($p['actionurl']){
				$p['url']=$p['actionurl'];
			}else{
				$p['url']=$p['name'].'/basic.module_home/';
			}
		}
	}
}
$menus=array(
	array('title'=>'平台','fa'=>'icon-dianpu','url'=>'jy_kongtiaoshop/index/','child'=>array(
		array('title'=>'平台','child'=>array(
			array('url'=>'jy_kongtiaoshop/index/','title'=>'平台概况'),
			array('url'=>'core/basic.tomenus/jy_kongtiaoshop/','title'=>'功能菜单'),
			array('url'=>'jy_kongtiaoshop/links/','title'=>'常用链接'),
			array('url'=>'jy_weishop/shop.notice/','title'=>'公告管理'),
			array('url'=>'jy_weishop/goods.comment/','title'=>'评价管理'),
			array('url'=>'jy_weishop/member.feedback/','title'=>'投诉建议'),
		)),
		array('title'=>'种草管理','child'=>array(
			array('url'=>'jy_weishop/grass.index/','title'=>'种草管理'),
			array('url'=>'jy_weishop/grass.groups/','title'=>'种草分类'),
			array('url'=>'jy_weishop/grass.setting/','title'=>'种草设置'),
			array('url'=>'jy_weishop/basic.module_home/cover/ac=grass.index','title'=>'种草入口'),
		)),
		array('title'=>'短视频','child'=>array(
			array('url'=>'jy_weishop/video.index/','title'=>'短视频管理'),
			array('url'=>'jy_weishop/video.groups/','title'=>'短视频分类'),
			array('url'=>'jy_weishop/video.setting/','title'=>'短视频设置'),
			array('url'=>'jy_weishop/basic.module_home/cover/ac=video.index','title'=>'短视频入口'),
		)),
		array('title'=>'文章中心','child'=>array(
			array('url'=>'jy_weishop/news.index/','title'=>'文章管理'),
			array('url'=>'jy_weishop/news.groups/','title'=>'文章分类'),
			array('url'=>'jy_weishop/basic.module_home/cover/ac=news.list','title'=>'文章中心'),
		)),	
		array('title'=>'入口','child'=>array(
			array('url'=>'jy_kongtiaoshop/basic.module_home/cover/ac=index','title'=>'空调入口'),
			array('url'=>'jy_kongtiaoshop/basic.module_home/cover/ac=shop.groups','title'=>'空调分类'),
			array('url'=>'jy_kongtiaoshop/basic.module_home/cover/ac=goods.index','title'=>'空调列表'),
			array('url'=>'jy_kongtiaoshop/basic.module_home/cover/ac=member.index','title'=>'会员入口'),
			array('url'=>'jy_kongtiaoshop/basic.module_home/cover/ac=member.cart','title'=>'配置清单'),
			array('url'=>'jy_kongtiaoshop/basic.module_home/cover/ac=order.list','title'=>'订单入口'),
			array('url'=>'jy_kongtiaoshop/basic.module_home/cover/ac=storelogin','title'=>'店员登录入口'),
		)),
		/*array('title'=>'小程序管理','child'=>array(
			array('url'=>'core/wxapp.list/list/type=8&basicname=jy_kongtiaoshop','title'=>'DIY小程序'),
			array('url'=>'core/wxapp.plugin/list/basicname=jy_kongtiaoshop','title'=>'应用小程序'),
		)),*/
	)),
	
	array('title'=>'空调/线控器','fa'=>'icon-assessedbadge','url'=>'jy_kongtiaoshop/goods.list/','child'=>array(
		array('title'=>'空调','child'=>array(
			array('url'=>'jy_kongtiaoshop/goods.list/','title'=>'中央空调内机'),
			array('url'=>'jy_kongtiaoshop/goods.list4/','title'=>'中央空调外机'),
			array('url'=>'jy_kongtiaoshop/goods.list2/','title'=>'普通空调'),
			array('url'=>'jy_kongtiaoshop/goods.list3/','title'=>'线控器'),
			array('url'=>'jy_kongtiaoshop/goods.group/','title'=>'空调品牌分类'),
			array('url'=>'jy_weishop/goods.label/','title'=>'标签管理'),
			array('url'=>'jy_weishop/goods.param/','title'=>'参数管理'),
			array('url'=>'jy_weishop/goods.basicinfo/','title'=>'固定信息'),
		)),
	)),
	array('title'=>'配置设置','fa'=>'icon-similarproduct','url'=>'jy_kongtiaoshop/home_type/','child'=>array(
		array('title'=>'建筑类型','child'=>array(
			array('url'=>'jy_kongtiaoshop/home_type/','title'=>'建筑类型'),
		)),
		array('title'=>'配置设置','child'=>array(
			array('url'=>'jy_kongtiaoshop/peisetting/','title'=>'配置设置'),
		))
	)),
	array('title'=>'配置订单','fa'=>'icon-form','url'=>'jy_kongtiaoshop/order.list/list/all=1','child'=>array(
		array('title'=>'配置订单','child'=>array(
			array('url'=>'jy_kongtiaoshop/order.add/','title'=>'创建配置单'),
			array('url'=>'jy_kongtiaoshop/order.list/list/all=1','title'=>'全部配置单'),
			array('url'=>'jy_kongtiaoshop/order.list/list/status=0','title'=>'待付款'),
			array('url'=>'jy_kongtiaoshop/order.list/list/status=1','title'=>'已付款'),
			array('url'=>'jy_kongtiaoshop/order.list/list/status=2','title'=>'进度中'),
			array('url'=>'jy_kongtiaoshop/order.list/list/status=3','title'=>'已完成'),
			array('url'=>'jy_kongtiaoshop/order.list/list/status=4','title'=>'已关闭'),
			array('url'=>'jy_kongtiaoshop/order.list/deleted/','title'=>'回收站'),
			array('url'=>'jy_kongtiaoshop/order.list/list/status=7','title'=>'异常报备'),
			//array('url'=>'jy_kongtiaoshop/order.baobei/','title'=>'异常报备记录'),
		)),
		array('title'=>'退款/售后_Refund','child'=>array(
			array('url'=>'jy_weishop/order.refund//ismai=1','title'=>'退款/售后'),
		)),
	)),
	array('title'=>'户型管理','fa'=>'icon-chengshifuwu','url'=>'jy_kongtiaoshop/shequ/','child'=>array(
		array('title'=>'社区户型','child'=>array(
			array('url'=>'jy_kongtiaoshop/shequ/','title'=>'社区列表'),
			//array('url'=>'jy_kongtiaoshop/home//islook=1','title'=>'户型列表'),
			//array('url'=>'jy_kongtiaoshop/peilist//islook=1','title'=>'配置方案'),
		)),
		/*array('title'=>'房间管理','child'=>array(
			array('url'=>'jy_kongtiaoshop/house/','title'=>'房间管理'),
		))*/
	)),
	array('title'=>'门店管理','fa'=>'icon-dianpu','url'=>'jy_kongtiaoshop/store.list/','child'=>array(
		array('title'=>'门店管理','child'=>array(
			array('url'=>'jy_weishop/store.setting/','title'=>'门店设置'),
			array('url'=>'jy_kongtiaoshop/store.list/','title'=>'门店管理'),
			//array('url'=>'jy_weishop/store.storesale/','title'=>'门店绩效'),
			//array('url'=>'jy_weishop/store.commission/','title'=>'门店佣金'),
			//array('url'=>'jy_weishop/store.workerfee/','title'=>'店员佣金'),
			//array('url'=>'jy_weishop/store.balance/','title'=>'佣金结算'),
			array('url'=>'jy_weishop/store.salergroup/','title'=>'员工角色'),
			array('url'=>'jy_weishop/store.saler/','title'=>'店长管理'),
			//array('url'=>'jy_weishop/store.salersale/','title'=>'员工绩效'),
			//array('url'=>'jy_weishop/store.totalset/','title'=>'空调分配库存'),
			//array('url'=>'jy_weishop/store.totalnotice/','title'=>'库存警报'),
			//array('url'=>'jy_weishop/basic.module_home/cover/ac=store.index','title'=>'门店首页入口'),
			array('url'=>'jy_kongtiaoshop/basic.module_home/cover/ac=storelogin','title'=>'店员登录入口'),
			//array('url'=>'jy_weishop/basic.module_home/cover/ac=verify.index','title'=>'核销入口'),
			//array('url'=>'jy_weishop/basic.module_home/cover/ac=verify.verifygoods','title'=>'计次核销入口'),
		)),
		array('title'=>'门店核销','child'=>array(
			array('url'=>'jy_weishop/store.verifylog/','title'=>'核销记录'),
			array('url'=>'jy_weishop/store.verifyselflog/','title'=>'取货核销记录'),
			array('url'=>'jy_weishop/store.verifygoods/','title'=>'记次时核销订单'),
			array('url'=>'jy_weishop/store.verifynumlog/','title'=>'记次时核销记录'),
		)),
	)),
	array('title'=>'进销存','fa'=>'icon-similarproduct','url'=>'jy_erp/index/','child'=>array(
		array('title'=>'进销概况','child'=>array(
			array('url'=>'jy_erp/index/','title'=>'进销概况'),
		)),
		array('title'=>'库存管理','child'=>array(
			array('url'=>'jy_erp/ku.goodsku/','title'=>'平台库存'),
			array('url'=>'jy_erp/ku.storeku/','title'=>'门店库存'),
			array('url'=>'jy_erp/ku.list//type=0','title'=>'商品入库单'),
			array('url'=>'jy_erp/ku.list//type=1','title'=>'其他入库单'),
			array('url'=>'jy_erp/ku.chulist//type=0','title'=>'材料出库单'),
			array('url'=>'jy_erp/ku.chulist//type=1','title'=>'其他出库单'),
			array('url'=>'jy_erp/ku.order/list/type=0','title'=>'要货单'),
			array('url'=>'jy_erp/ku.order/diaolist/type=1','title'=>'调拨单'),
			array('url'=>'jy_erp/ku.order/panlist/type=2','title'=>'盘点单'),
		)),
		array('title'=>'信息完善','child'=>array(
			array('url'=>'jy_erp/kehu/','title'=>'往来单位'),
			array('url'=>'jy_erp/ck/','title'=>'仓库'),
			array('url'=>'core/setting.pay/','title'=>'支付方式'),
			array('url'=>'jy_erp/feetype/','title'=>'费用类型'),
			array('url'=>'jy_erp/shoutype/','title'=>'收入类型'),
			array('url'=>'jy_erp/yintype/','title'=>'银行转账类型'),
			array('url'=>'jy_erp/zhanghutype/','title'=>'收款账户'),
			array('url'=>'jy_erp/fuhutype/','title'=>'付款账户')
		)),
		array('title'=>'商品统计','child'=>array(
			array('url'=>'jy_erp/statistics.goods_days/list/','title'=>'销售统计'),
			array('url'=>'jy_erp/statistics.goods_options/list/','title'=>'规格统计'),
			array('url'=>'jy_erp/statistics.goods/list/','title'=>'销售明细'),
			array('url'=>'jy_erp/statistics.goods_rank/list/','title'=>'销售排行'),
			array('url'=>'jy_erp/statistics.goods_trans/list/','title'=>'销售转化率'),
		)),
		array('title'=>'客户统计','child'=>array(
			array('url'=>'jy_erp/statistics.member_cost/listd/','title'=>'消费排行'),
			array('url'=>'jy_erp/statistics.member_increase/list/','title'=>'增长趋势'),
		)),
		array('title'=>'数据看板','child'=>array(
			array('url'=>'jy_erp/statistics.index/list/','title'=>'数据看板'),
			array('url'=>'jy_erp/statistics.sale/','title'=>'销售统计'),
			array('url'=>'jy_erp/statistics.sale_analysis/list/','title'=>'销售指标'),
			array('url'=>'jy_erp/statistics.order/list/','title'=>'订单统计'),
			array('url'=>'jy_erp/statistics.brand/list/','title'=>'品牌统计'),
		)),
		array('title'=>'财务看板','child'=>array(
			array('url'=>'jy_erp/finance.data/','title'=>'经营情况'),
			array('url'=>'jy_erp/finance.feedata/','title'=>'利润报表'),
			array('url'=>'jy_erp/finance.in/','title'=>'线上收入'),
			array('url'=>'jy_erp/finance.out/','title'=>'线上支出'),
		)),
		array('title'=>'采购业务','child'=>array(
			array('url'=>'jy_erp/caigou.list/edit/','title'=>'采购申请单'),
			array('url'=>'jy_erp/caigou.list/list/','title'=>'采购订单'),
		)),
		array('title'=>'采购报表','child'=>array(
			array('url'=>'jy_erp/caigou.data/','title'=>'采购申请统计'),
			array('url'=>'jy_erp/caigou.data1/','title'=>'采购订单统计'),
			array('url'=>'jy_erp/caigou.data2/','title'=>'进货单统计'),
		)),
		array('title'=>'往来收支','child'=>array(
			array('url'=>'jy_erp/caiwu.infee//type=0','title'=>'收款单'),
			array('url'=>'jy_erp/caiwu.outfee//type=0','title'=>'付款单'),
			array('url'=>'jy_erp/caiwu.infee//type=1','title'=>'其他收入单'),
			array('url'=>'jy_erp/caiwu.outfee//type=1','title'=>'费用支出单'),
			array('url'=>'jy_erp/caiwu.yinfee/','title'=>'银行存取账单'),
		)),
		array('title'=>'往来核销','child'=>array(
			array('url'=>'jy_erp/caiwu.yufee//type=0','title'=>'预收冲应收单'),
			array('url'=>'jy_erp/caiwu.yufee//type=1','title'=>'预付冲应付单'),
			array('url'=>'jy_erp/caiwu.yuhefee//type=0','title'=>'收款核销执行'),
			array('url'=>'jy_erp/caiwu.yuhefee//type=1','title'=>'付款核销执行'),
		)),
		array('title'=>'期末处理','child'=>array(
			array('url'=>'jy_erp/feelog/','title'=>'产生支付'),
		)),
		array('title'=>'现金银行','child'=>array(
			array('url'=>'jy_erp/caiwu.datayin/','title'=>'现金银行统计'),
		)),
		array('title'=>'统计报表','child'=>array(
			array('url'=>'jy_erp/caiwu.datainfee//type=0','title'=>'收款情况统计'),
			array('url'=>'jy_erp/caiwu.dataoutfee//type=0','title'=>'付款情况统计'),
			array('url'=>'jy_erp/caiwu.datainfee//type=1','title'=>'其他收入统计'),
			array('url'=>'jy_erp/caiwu.dataoutfee//type=1','title'=>'费用支出统计'),
		)),
		array('title'=>'员工概况','child'=>array(
			array('url'=>'jy_yxgz/index/','title'=>'概况'),
			array('url'=>'jy_yxgz/rank/','title'=>'绩效排名'),
			array('url'=>'jy_yxgz/basic.module_home/cover/ac=index&type=3','title'=>'首页入口'),
		)),
		array('title'=>'员工列表','child'=>array(
			array('url'=>'jy_yxgz/worker/','title'=>'员工列表'),
			array('url'=>'jy_yxgz/group/','title'=>'部门列表'),	
		)),
		array('title'=>'员工薪资','child'=>array(
			array('url'=>'jy_yxgz/feelog/','title'=>'薪资记录'),
			array('url'=>'jy_yxgz/morefeelog/','title'=>'其他费用'),
			array('url'=>'jy_yxgz/orderlog/','title'=>'销售记录'),
		)),
		array('title'=>'员工设置','child'=>array(
			array('url'=>'jy_yxgz/setting/','title'=>'基本设置'),	
			array('url'=>'jy_yxgz/goods/','title'=>'商品管理'),
			array('url'=>'jy_yxgz/goods_group/','title'=>'商品分类'),
		)),
	)),
	array('title'=>'营销','fa'=>'icon-gengduotupian','url'=>'jy_weishop/sale.enough/','child'=>array(
		array('title'=>'活动中心','child'=>array(
			array('url'=>'jy_weishop/activity.buyagain.list/','title'=>'重复购折扣'),
			array('url'=>'jy_weishop/activity.sales.list/','title'=>'限时促销'),
			array('url'=>'jy_weishop/activity.limit.list/','title'=>'限时卖'),
			array('url'=>'jy_weishop/activity.presell.list/','title'=>'限时预售'),
			array('url'=>'jy_weishop/activity.buyxiu.set/','title'=>'买家秀'),
			array('url'=>'jy_weishop/activity.sales.offer/','title'=>'今日特价'),
			array('url'=>'jy_weishop/activity.sales.luck/','title'=>'今日运势'),
			array('url'=>'jy_weishop/activity.live.index/','title'=>'小程序直播'),
			array('url'=>'jy_weishop/activity.sales.feemoney/','title'=>'今日省钱'),
			array('url'=>'jy_weishop/activity.sales.new/','title'=>'新人专享'),
            array('url'=>'jy_weishop/activity.sales.tan/','title'=>'首屏弹窗'),
		)),
		array('title'=>'基本功能','child'=>array(
			array('url'=>'jy_weishop/sale.enough/','title'=>'满额/件优惠'),
			array('url'=>'jy_weishop/sale.baoyou/','title'=>'满额包邮'),
			array('url'=>'jy_weishop/sale.bindmobile/','title'=>'新人送积分'),
			array('url'=>'jy_weishop/sale.credit1/','title'=>'购物送积分'),
			array('url'=>'jy_weishop/sale.credit3/','title'=>'购物送虚拟币'),
			array('url'=>'jy_weishop/sale.deduct/','title'=>'抵扣设置'),
			array('url'=>'jy_weishop/sale.recharge/','title'=>'充值优惠'),
			//array('url'=>'sale.package/','title'=>'套餐管理'),
			array('url'=>'jy_weishop/sale.gift/','title'=>'赠品管理'),
			array('url'=>'jy_weishop/sale.fullback/','title'=>'全返管理'),
			array('url'=>'jy_weishop/sale.peerpay/','title'=>'找人代付'),
			array('url'=>'jy_weishop/sale.qingdan/','title'=>'购物清单'),
		)),
		array('title'=>'游戏营销','child'=>array(
			array('url'=>'jy_weishop/game.list/','title'=>'游戏管理'),
			array('url'=>'jy_weishop/game.log/','title'=>'获奖记录'),
			array('url'=>'jy_weishop/game.wait_log/','title'=>'参与记录'),
			array('url'=>'jy_weishop/basic.module_home/cover/ac=game.getlog','title'=>'获奖记录'),
		)),
		array('title'=>'优惠券','child'=>array(
			array('url'=>'jy_weishop/coupon.count/','title'=>'优惠券概况'),
			array('url'=>'jy_weishop/coupon.list/','title'=>'全部优惠券'),
			array('url'=>'jy_weishop/coupon.goodssend/','title'=>'活动/购物送券'),
			array('url'=>'jy_weishop/coupon.sendcoupon/','title'=>'手动发放'),
			array('url'=>'jy_weishop/coupon.log/','title'=>'发放记录'),
			array('url'=>'jy_weishop/coupon.hexiaolog/','title'=>'核销记录'),
			array('url'=>'jy_weishop/coupon.group/','title'=>'分类管理'),
			array('url'=>'jy_weishop/coupon.set/','title'=>'其他设置'),
			array('url'=>'jy_weishop/basic.module_home/cover/ac=coupon.index','title'=>'优惠券入口'),
		)),
		array('title'=>'微信卡券','child'=>array(
			array('url'=>'jy_weishop/coupon.wxcard/','title'=>'卡券管理'),
		)),
		array('title'=>'购物卡管理','child'=>array(
			array('url'=>'jy_weishop/goodscard.list/','title'=>'购物卡列表'),
			array('url'=>'jy_weishop/goodscard.order/','title'=>'购物卡订单'),
			array('url'=>'jy_weishop/goodscard.log/','title'=>'领取记录'),
		)),
	)),
	array('title'=>'会员','fa'=>'icon-paihao0','url'=>'core/member.member/','child'=>array(
		array('title'=>'会员管理','child'=>array(
			array('url'=>'core/member.member/','title'=>'系统会员'),
			array('url'=>'jy_weishop/member.list/','title'=>'商城会员'),
			array('url'=>'jy_weishop/member.level/','title'=>'会员等级'),
			array('url'=>'jy_weishop/member.label/','title'=>'标签组'),
			array('url'=>'jy_weishop/member.rank/','title'=>'排行榜设置'),
			array('url'=>'jy_weishop/member.xieyi/','title'=>'会员协议'),
		)),
		array('title'=>'升级日志','child'=>array(
			array('url'=>'jy_weishop/member.log/','title'=>'升级日志'),
		)),
	)),
	array('title'=>'财务','fa'=>'icon-dixiaofei','url'=>'jy_weishop/finance.in/','child'=>array(
		array('title'=>'收支明细','child'=>array(
			array('url'=>'jy_weishop/finance.in/','title'=>'收入'),
			array('url'=>'jy_weishop/finance.out/','title'=>'支出'),
		)),
		array('title'=>'现金流','child'=>array(
			array('url'=>'core/member.recharge_log/','title'=>'充值记录'),
			array('url'=>'core/member.tixian/','title'=>'提现申请'),
		)),
		array('title'=>'明细','child'=>array(
			array('url'=>'jy_weishop/finance.credit1log/','title'=>'积分明细'),
			array('url'=>'jy_weishop/finance.credit2log/','title'=>'余额明细'),
			array('url'=>'jy_weishop/finance.credit3log/','title'=>$credit_types[3].'明细'),
			array('url'=>'jy_weishop/finance.credit4log/','title'=>$credit_types[4].'明细'),
			array('url'=>'jy_weishop/finance.credit5log/','title'=>$credit_types[5].'明细'),
			array('url'=>'jy_weishop/finance.credit6log/','title'=>$credit_types[6].'明细'),
		)),
		array('title'=>'对账单','child'=>array(
			array('url'=>'jy_weishop/finance.downloadbill/','title'=>'下载对账单'),
		)),
	)),
	array('title'=>'数据','fa'=>'icon-licai','url'=>'jy_weishop/statistics.index/','child'=>array(
		array('title'=>'销售统计','child'=>array(
			array('url'=>'jy_weishop/statistics.index/','title'=>'数据看板'),
			array('url'=>'jy_weishop/statistics.sale/','title'=>'销售统计'),
			array('url'=>'jy_weishop/statistics.sale_analysis/','title'=>'销售指标'),
			array('url'=>'jy_weishop/statistics.order/','title'=>'订单统计'),
			array('url'=>'jy_weishop/statistics.brand/','title'=>'品牌统计'),
		)),
		array('title'=>'空调统计','child'=>array(
			array('url'=>'jy_weishop/statistics.goods_days/','title'=>'销售统计'),
			array('url'=>'jy_weishop/statistics.goods_options/','title'=>'规格统计'),
			array('url'=>'jy_weishop/statistics.goods/','title'=>'销售明细'),
			array('url'=>'jy_weishop/statistics.goods_rank/','title'=>'销售排行'),
			array('url'=>'jy_weishop/statistics.goods_trans/','title'=>'销售转化率'),
		)),
		array('title'=>'会员统计','child'=>array(
			array('url'=>'jy_weishop/statistics.member_cost/','title'=>'消费排行'),
			array('url'=>'jy_weishop/statistics.member_increase/','title'=>'增长趋势'),
		)),
	)),
	//array('title'=>'应用','isplugin'=>1,'fa'=>'icon-box','url'=>'jy_kongtiaoshop/plugins/','child'=>$plugins),
	array('title'=>'设置','fa'=>'icon-shezhi','url'=>'jy_kongtiaoshop/setting/','child'=>array(
		array('title'=>'商城设置','child'=>array(
			array('url'=>'jy_kongtiaoshop/setting/','title'=>'基本设置'),
			array('url'=>'jy_weishop/sysset.shop/','title'=>'其他设置'),
			array('url'=>'jy_kongtiaoshop/payset/','title'=>'关闭现金支付'),
			array('url'=>'jy_weishop/sysset.xieyi/','title'=>'购物协议'),
            array('url'=>'jy_weishop/sysset.tiaokuan/','title'=>'条款及政策'),
			array('url'=>'jy_weishop/sysset.hdp/','title'=>'幻灯片'),
			array('url'=>'jy_weishop/sysset.close/','title'=>'商城状态'),
			array('url'=>'jy_weishop/sysset.templat/','title'=>'模板设置'),
			array('url'=>'jy_weishop/sysset.groupset/','title'=>'分类设置'),
			array('url'=>'jy_weishop/sysset.search/','title'=>'搜索关键字'),
			array('url'=>'jy_weishop/sysset.express_list/','title'=>'快递公司'),
			//array('url'=>'sysset.allwap/','title'=>'全网设置'),
		)),
		array('title'=>'交易设置','child'=>array(
			//array('url'=>'sysset.trade/','title'=>'交易设置'),
			array('url'=>'jy_weishop/sysset.refund/','title'=>'退款设置'),
			array('url'=>'core/setting.pay/','title'=>'支付设置'),
			array('url'=>'core/setting.cash/','title'=>'提现设置'),
		)),
		array('title'=>'消息提醒','child'=>array(
			array('url'=>'jy_weishop/sysset.notice/','title'=>'消息基本设置'),
			array('url'=>'core/setting.msgset/list/plugin_name=jy_weishop','title'=>'消息开启设置'),
			array('url'=>'core/setting.msgtpl/list/plugin_name=jy_weishop','title'=>'微信模板库'),
		)),
		array('title'=>'短信配置','child'=>array(
			array('url'=>'core/setting.sms_temp/','title'=>'短信消息库'),
			//array('url'=>'sysset.sms_set/','title'=>'短信接口设置'),
		)),
		array('title'=>'小票打印机','child'=>array(
			array('url'=>'jy_print/setting/','title'=>'默认打印机接口参数'),
			array('url'=>'jy_print/print/','title'=>'默认打印机管理'),
			array('url'=>'jy_feieyun/setting/','title'=>'飞蛾打印机接口参数'),
			array('url'=>'jy_feieyun/print/','title'=>'飞蛾打印机管理'),
			array('url'=>'jy_weishop/sysset.printer/','title'=>'打印任务管理'),
			array('url'=>'jy_weishop/sysset.printer_tpl/','title'=>'打印机模板'),
			array('url'=>'jy_weishop/sysset.printer_eletpl/','title'=>'电子快递模板'),
			array('url'=>'jy_weishop/sysset.printer_log/','title'=>'打印日志'),
		)),
		array('title'=>'其他设置','child'=>array(
			array('url'=>'jy_weishop/sysset.express/','title'=>'物流信息接口'),
		)),
	)),
);
if(!$this->plugin_exists('jy_feieyun')){
	unset($menus[9]['child'][4]['child'][2]);
	unset($menus[9]['child'][4]['child'][3]);
}
return $menus;